//==============================================================================
// tower_anim.txt
//==============================================================================
import Construction_defines_anim.txt
import building_damage_defines_anim.txt

define sfxatimeshiftmediumin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift medium in
		}
	}
}

//down sparkles
define sfxatimeshiftspellin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift spell in
		}
	}
}

define sfxatimeshiftswirl
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift swirl tied
		}
	}
}

//==============================================================================
define empower
{
    SetSelector
    {
        EmpowerLogic
        SetSelector
        {
            set hotspot
            {
                version
                {
                    Visualnone Jimmy
                }
            }
        }
        SetSelector
        {
            set hotspot
            {
                version
                {
                    Visualparticle SFX E Pharaoh Empower Large
                }
            }
        }
    }
}
//==============================================================================
define VINEA
{
    set hotspot
    {
        version
        {
            Visual Building VineA
        }
    }
}
//==============================================================================
define VINEB
{
    set hotspot
    {
        version
        {
            Visual Building VineB
        }
    }
}
//==============================================================================
define Dust
{
    set hotspot
    {
        version
        {
            Visualparticle SFX A Building DustA
        }
    }
}
//==============================================================================
define Oil
{
    set hotspot
    {
        version
        {
            Visualparticle SFX A Oil
        }
    }
}
//==============================================================================
anim Idle
{
    SetSelector
    {
        CultureLogic Egyptian/Greek/Norse/Atlantean/Chinese
        SetSelector
        {
            TechLogic none/Watch tower/Guard Tower/Ballista Tower
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building Outpost
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect ATTACHPOINT empower hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect ATTACHPOINT empower hotspot
                        connect CHIN E_Small_Brick hotspot
                        connect ATTACHPOINT E_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect ATTACHPOINT empower hotspot
                        connect CHIN E_Small_Brick hotspot
                        connect ATTACHPOINT E_Long_Brick hotspot
                    }
                }
                
            }
            SetSelector
            {
                TechLogic none/age 2/age 3/age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building E Watch Age1
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                        }
                    }
                     set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                   
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building E Watch Age2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building E Watch Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building E Watch Age4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    
                }
            }
            SetSelector
            {
                TechLogic age 3/age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building E Guard Tower Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building E Guard Tower Age4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect ATTACHPOINT empower hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    
                }
            }
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building E Ballista Tower Age4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect ATTACHPOINT empower hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect ATTACHPOINT empower hotspot
                        connect CHIN E_Small_Brick hotspot
                        connect ATTACHPOINT E_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect ATTACHPOINT empower hotspot
                        connect CHIN E_Small_Brick hotspot
                        connect ATTACHPOINT E_Long_Brick hotspot
                    }
                }
                
            }
        }
        //==============================Greek Towers===========================
        SetSelector
        {
            TechLogic none/Watch tower/Guard Tower/Ballista Tower
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building Outpost
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN G_Small_Brick hotspot
                        connect ATTACHPOINT G_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN G_Small_Brick hotspot
                        connect ATTACHPOINT G_Long_Brick hotspot
                    }
                }
                
            }
            SetSelector
            {
                TechLogic age 2/age 3/age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building g watchtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect Leftleg VINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building G watchtower Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building G watchtower Age4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
            }
            SetSelector
            {
                TechLogic Age 3/Age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building g guardtower Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building g guardtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
            }
        }
        //==============================Norse Towers===========================
        SetSelector
        {
            TechLogic none/Watch tower/Guard Tower/Ballista Tower
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building Outpost
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN N_Small_Brick hotspot
                        connect ATTACHPOINT N_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN N_Small_Brick hotspot
                        connect ATTACHPOINT N_Long_Brick hotspot
                    }
                }
                
            }
            SetSelector
            {
                Techlogic Age 2/Age 3/Age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building N TowerAge2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect rightfoot vinea hotspot
                            connect righthand vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building N TowerAge3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect rightfoot vinea hotspot
                            connect righthand vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building N TowerAge4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect rightfoot vinea hotspot
                            connect righthand vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    
                }
            }
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building E Tower age2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN E_Small_Brick hotspot
                        connect ATTACHPOINT E_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN E_Small_Brick hotspot
                        connect ATTACHPOINT E_Long_Brick hotspot
                    }
                }
                
            }
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building E Tower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN G_Small_Brick hotspot
                        connect ATTACHPOINT G_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN G_Small_Brick hotspot
                        connect ATTACHPOINT G_Long_Brick hotspot
                    }
                }
                
            }
        }
        //==============================Atlantean Towers===========================
        SetSelector
        {
            TechLogic none/Watch tower/Guard Tower/Ballista Tower
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building Outpost
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    }
                }
                 set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN N_Small_Brick hotspot
                        connect ATTACHPOINT N_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN N_Small_Brick hotspot
                        connect ATTACHPOINT N_Long_Brick hotspot
                    }
                }
               
            }
            SetSelector
            {
                Techlogic Age 2/Age 3/Age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building X Watch Tower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect rightfoot vinea hotspot
                            connect LeftLeg vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                   set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building X Watch Tower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture Building X Tower Watch2/Building X Tower Watch3
                            connect rightfoot vinea hotspot
                            connect LeftLeg vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building X Watch Tower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture Building X Tower Watch2/Building X Tower Watch4
                            connect rightfoot vinea hotspot
                            connect LeftLeg vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN N_Small_Brick hotspot
                            connect ATTACHPOINT N_Long_Brick hotspot
                        }
                    }
                    
                }
            }
            SetSelector
            {
                Techlogic Age 3/Age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building X Guard Tower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture Building X Tower Watch2/Building X Tower Watch3
                            connect rightfoot vinea hotspot
                            connect LeftLeg vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN E_Small_Brick hotspot
                            connect ATTACHPOINT E_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building X Guard Tower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture Building X Tower Watch2/Building X Tower Watch4
                            connect rightfoot vinea hotspot
                            connect LeftLeg vinea hotspot
                            connect rightear vinea hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
            }
        }
        //==============================Chinese Towers===========================
        SetSelector
        {
            TechLogic none/Watch tower/Guard Tower/Ballista Tower
            SetSelector
            {
                DamageLogic 0 1 50
                set hotspot
                {
                    version
                    {
                        visual Building Outpost
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN G_Small_Brick hotspot
                        connect ATTACHPOINT G_Long_Brick hotspot
                    }
                }
                set hotspot
                {
                    version
                    {
                        visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                        connect CHIN G_Small_Brick hotspot
                        connect ATTACHPOINT G_Long_Brick hotspot
                    }
                }
                
            }
            SetSelector
            {
                TechLogic age 2/age 3/age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building C watchtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture building c roofage1/building c roofage2
                            connect Leftleg VINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                   set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building C watchtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture building c roofage1/building c roofage3
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building C watchtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture building c roofage1/building c roofage4
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
            }
            SetSelector
            {
                TechLogic Age 3/Age 4
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building C guardtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture building c roofage1/building c roofage3
                            ReplaceTexture building c tower age2/building c tower age3
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
                SetSelector
                {
                    DamageLogic 0 1 50
                    set hotspot
                    {
                        version
                        {
                            visual Building C guardtower
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            ReplaceTexture building c roofage1/building c roofage4
                            ReplaceTexture building c tower age2/building c tower age3
                            connect Leftleg vINEA hotspot
                            connect Rightfoot VINEA hotspot
                            connect Rightleg VINEb hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building G TowerConstruction
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    set hotspot
                    {
                        version
                        {
                            visual Building Construction XSmall B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
                            connect CHIN G_Small_Brick hotspot
                            connect ATTACHPOINT G_Long_Brick hotspot
                        }
                    }
                    
                }
            }
        }
    }
}